const AppMain = () =>
  import(/* webpackChunkName:"appMain" */ "@/views/AppMain");
const Dashboard = () =>
  import(/* webpackChunkName:"Dashboard" */ "@/views/Dashboard");

export default [
  {
    path: "/",
    component: AppMain,
    children: [
      {
        name: "dashboard",
        component: Dashboard,
        meta: {
          title: "欢迎页",
        },
      },
    ],
  },
  {
    name: "login",
    component: () => import("@/views/Login"),
    meta: {
      title: "登录",
      prefix: "",
      notcheck: true,
    },
  },
];
